home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmListReplaceItemsPos.z / XmListReplaceItemsPos
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss - A List function that replaces the
  10.           specified elements in the list
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/List.h>
  14.           vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           XXXXmmmmSSSSttttrrrriiiinnnngggg ****nnnneeeewwww____iiiitttteeeemmmmssss,
  17.           iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt,
  18.           iiiinnnntttt ppppoooossssiiiittttiiiioooonnnn);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss replaces the specified number of items
  25.           of the List with new items, starting at the specified
  26.           position in the List.  When the items are inserted into the
  27.           list, they are compared with the current XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss
  28.           list. If any of the new items matches an item on the
  29.           selected list, it appears selected.
  30.  
  31.           _w_i_d_g_e_t    Specifies the ID of the List widget.
  32.  
  33.           _n_e_w__i_t_e_m_s Specifies the replacement items.
  34.  
  35.           _i_t_e_m__c_o_u_n_t
  36.                     Specifies the number of items in _n_e_w__i_t_e_m_s and the
  37.                     number of items in the list to replace.  This
  38.                     number must be nonnegative.
  39.  
  40.           _p_o_s_i_t_i_o_n  Specifies the position of the first item in the
  41.                     list to be replaced.  A value of 1 indicates that
  42.                     the first item replaced is the first item in the
  43.                     list; a value of 2 indicates that it is the second
  44.                     item; and so on.
  45.  
  46.                     Beginning with the item specified in _p_o_s_i_t_i_o_n,
  47.                     _i_t_e_m__c_o_u_n_titems in the list are replaced with the
  48.                     corresponding elements from _n_e_w__i_t_e_m_s.  That is,
  49.                     the item at _p_o_s_i_t_i_o_n is replaced with the first
  50.                     element of _n_e_w__i_t_e_m_s; the item after _p_o_s_i_t_i_o_n is
  51.                     replaced with the second element of _n_e_w__i_t_e_m_s; and
  52.                     so on, until _i_t_e_m__c_o_u_n_t is reached.
  53.  
  54.           For a complete definition of List and its associated
  55.           resources, see XXXXmmmmLLLLiiiisssstttt(3).
  56.  
  57.      RRRREEEELLLLAAAATTTTEEEEDDDD
  58.           XXXXmmmmLLLLiiiisssstttt(3).
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.